package cn.csc.module.distribute.controller.app.order.vo;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;

/**
 * @author yql
 * @date 2025/4/24
 **/
@Data
public class AppDistributeOrderItemRespVO implements Serializable {

    @ApiModelProperty(value = "子订单主键Id")
    @Schema(description = "子订单主键Id" )
    private BigInteger id;
    @ApiModelProperty(value = "分销员用户ID")
    @Schema(description = "店铺id" )
    private BigInteger shopId;

    @Schema(description = "订单id" )
    private BigInteger orderId;

    @Schema(description = "产品ID" )
    private BigInteger spuId;

    @Schema(description = "产品SkuID" )
    private BigInteger skuId;

    @Schema(description = "用户Id" )
    private BigInteger userId;

    @Schema(description = "购物车产品个数" )
    private Integer count;

    @Schema(description = "产品名称" )
    private String spuName;

    @Schema(description = "sku名称" )
    private String skuName;

    @Schema(description = "产品主图片路径" )
    private String pic;

    @Schema(description = "产品价格" )
    private BigDecimal price;

    @Schema(description = "商品总金额" )
    private BigDecimal spuTotalAmount;

    @Schema(description = "运费备注" )
    private String freightRemark;

    @ApiModelProperty(value = "订单佣金")
    private BigDecimal commission;
    @ApiModelProperty(value = "订单类型 0普通订单，1采购商订单")
    private Integer orderType;

}
